package com.cskaoyan.service;


import com.cskaoyan.model.bo.BaseParamBO;
import com.cskaoyan.model.bo.GoodsAllinone;
import com.cskaoyan.model.vo.CatAndBrandDataVO;
import com.cskaoyan.model.vo.CommentDataVO;
import com.cskaoyan.model.vo.GoodsDataVO;
import com.cskaoyan.model.vo.GoodsDetailVO;

/**
 * @program: mall38
 * @description:
 * @author: Wang
 * @create: 2022-05-05 20:05
 **/

public interface GoodsService {

    GoodsDataVO query(String name, Integer goodsId, String goodsSn, BaseParamBO param);

    void deleteGoodsById(Integer id);

    CatAndBrandDataVO queryCatAndBrand();

    CommentDataVO queryComment(Integer userId, BaseParamBO param);

    void deleteCommentById(Integer id);

    void createGoodsByGoods(GoodsAllinone goods);

    GoodsDetailVO getGoodsDetail(Integer id);

    void updateGoodsByGoods(GoodsAllinone goodsAllinone);
}
